package com.fresh.fresh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fresh.fresh.dao.Cart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CartMapper extends BaseMapper<Cart> {

    List<Cart> list(Integer id);


    List<Cart> getShopping(Integer userId, Integer commodityId);


}
